home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 23
/
Amiga Format AFCD23 (Feb 1998, Issue 107).iso
/
-seriously_amiga-
/
shareware
/
programming
/
c
/
asyncio
/
src
/
sendpacket.c
< prev
next >
Wrap
C/C++ Source or Header
|
1997-12-01
|
412b
|
19 lines
#include "async.h"
/* send out an async packet to the file system. */
VOID
AS_SendPacket( struct AsyncFile *file, APTR arg2 )
{
#ifdef ASIO_NOEXTERNALS
struct ExecBase *SysBase;
SysBase = file->af_SysBase;
#endif
file->af_Packet.sp_Pkt.dp_Port = &file->af_PacketPort;
file->af_Packet.sp_Pkt.dp_Arg2 = ( LONG ) arg2;
PutMsg( file->af_Handler, &file->af_Packet.sp_Msg );
file->af_PacketPending = TRUE;
}